package 预习;

import java.util.Random;

public class RandomTest {
    public static void main(String[] args) {

        Random r = new Random();

        for (int count = 1; count <= 10; count++) {
            int i = r.nextInt(10);
            System.out.println(i);
        }
    }
}
